package dao;

import java.util.ArrayList;
import model.LeaveDTO;

public interface ILeaveDAO {

	public LeaveDTO findLeave(String leaveId) throws DAOException;
    public ArrayList<LeaveDTO> findAllLeave() throws DAOException;
    public void insertLeave(LeaveDTO leave) throws DAOException;
    public void updateLeave(LeaveDTO leave) throws DAOException;
    public void deleteLeave(LeaveDTO leave) throws DAOException;
}
